/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.student.tp3assignment2.dipviolate.Impl;

import com.student.tp3assignment2.dipviolate.BankAccount;

/**
 *
 * @author Student
 */
public class BankAccountImpl implements BankAccount {

    String accountNumber;
    double balance;

    public void AddFunds(double value) {
        balance += value;
    }

    public void RemoveFunds(double value) {
        balance -= value;
    }

    public void SetAccountNumber(String accNumber)
    {
        accountNumber = accNumber;
    }

    public String GetAccountNumber()
    {
        return accountNumber;
    }

    public void SetBalance(double balance)
    {
        this.balance = balance;
    }

    public double GetBalance()
    {
        return balance;
    }

}
